//
//  MYFind.m
//  奇闻
//
//  Created by yangbin on 15/1/2.
//  Copyright (c) 2015年 MingYueGuCheng. All rights reserved.
//

#import "MYFind.h"
#import "MYFindView.h"

@interface MYFind ()
@property (nonatomic, weak) MYFindView *findView;
@end
@implementation MYFind
+ (void)initialize
{
    MYFind *find = [super sharedMYBaseMenu];
    find.name = @"查找";
    __weak typeof(find) weakFind = find;
    find.operateBlock = ^{
        if (!weakFind.findView) {
            MYFindView *findView = [[MYFindView alloc] initWithFrame:CGRectMake(0, MYScreenBounds.size.height * 0.5, MYScreenBounds.size.width, 35)];
            [MYKeyWindow addSubview:findView];
            weakFind.findView = findView;
        }
    };
}
@end
